<script src="?load_js=content&m=admin"></script>

<div style="font-size:24px; padding-bottom:20px;">{php}elang(array('admin','content'), 'add.page_title'){/php}</div>
<form method="post">
<table width=100% cellpadding="" cellspacing="0" style="padding-left:20px;">
 <tr>
  <td>{php}elang(array('admin','content'), 'add.pid'){/php}</td>
  <td>
   <table width=100% cellpadding="0" cellspacing="0"><tr>
    <td><input type=text name="add.pid" id="add.pid" style="width:99%;" value="{php}echo (isset($_GET['pid'])?$_GET['pid']:0){/php}" onkeyup="admcontent.pidChanged()" /></td>
    <td><a href="#" onClick="admcontent.showTree(event); return false;"><img src="/open/images/buttons/find.png" border="0" /></a></td>
   </tr><tr>
   <td colspan=2 align=left id="add.pid.title"></td>
   </tr></table>
  </td>
 </tr>
 <tr>
  <td>{php}elang(array('admin','content'), 'add.uriTitle'){/php}</td>
  <td><input type=text name="add.uri_title" style="width:99%;" /></td>
 </tr>
 <tr>
  <td>{php}elang(array('admin','content'), 'add.thisCat'){/php}</td>
  <td><input type=checkbox name="add.thisCat" /></td>
 </tr>
 <tr>
  <td width=100 valign=top>{php}elang(array('admin','content'), 'add.title'){/php}:</td>
  <td>
   <fieldset>
    <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.en'){/php}</legend>
    <input type="text" name="add[en][title]" style="width:100%" />
   </fieldset>
   
   <div id="add.title.ru">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ru'){/php}</legend>
      <input type="text" name="add[ru][title]" style="width:100%" />
     </fieldset>
   </div>
   
   <div id="add.title.ua">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ua'){/php}</legend>
      <input type="text" name="add[ua][title]" style="width:100%" />
     </fieldset>
   </div>
  </td>
 </tr>
 <tr><td colspan=3><br /></td></tr>
 
 <tr>
  <td width=100 valign=top>{php}elang(array('admin','content'), 'add.title_big'){/php}:</td>
  <td>
   <fieldset>
    <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.en'){/php}</legend>
    <input type="text" name="add[en][title_big]" style="width:100%" />
   </fieldset>
   
   <div id="add.title_big.ru">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ru'){/php}</legend>
      <input type="text" name="add[ru][title_big]" style="width:100%" />
     </fieldset>
   </div>
   
   <div id="add.title_big.ua">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ua'){/php}</legend>
      <input type="text" name="add[ua][title_big]" style="width:100%" />
     </fieldset>
   </div>
  </td>
 </tr>
 <tr><td colspan=3><br /></td></tr>
 
 <tr>
  <td valign=top>{php}elang(array('admin','content'), 'add.text'){/php}:</td>
  <td>
   <fieldset>
    <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.en'){/php}</legend>
    <textarea name="add[en][text]" style="width:100%" rows=5></textarea>
   </fieldset>
   
   <div id="add.text.ru">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ru'){/php}</legend>
      <textarea name="add[ru][text]" style="width:100%" rows=5></textarea>
     </fieldset>
   </div>
   
   <div id="add.text.ua">
     <fieldset>
      <legend style="font-weight:bold;">{php}elang(array('admin','content'), 'add.lang.ua'){/php}</legend>
      <textarea name="add[ua][text]" style="width:100%" rows=5></textarea>
     </fieldset>
   </div>
  </td>
 </tr>
</table>

<div style="padding-left:125px; padding-top:10px;"><input type="submit" value="Создать статью" onClick="return submitContent();" /></div>
<input type="hidden" name="addContent" value="true" />
</form>

<script src="/open/js/content.add.js"></script>